package com.atguigu.admin.service.impl;

import com.atguigu.admin.service.OrderService;
import com.atguigu.clients.OrderClient;
import com.atguigu.param.PageParam;
import com.atguigu.utils.R;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class OrderServiceImpl implements OrderService {

    @Autowired
    private OrderClient orderClient;

    @Override
    public R list(PageParam pageParam) {

        return orderClient.adminList(pageParam);
    }
}
